package com.team5101.dto;

import com.team5101.entity.TOrder;
import com.team5101.entity.TOrderDetail;

import java.io.Serializable;

public class OrderDetailDto extends TOrder implements Serializable {

    private TOrderDetail tOrderDetail;

    public TOrderDetail gettOrderDetail() {
        return tOrderDetail;
    }

    public void settOrderDetail(TOrderDetail tOrderDetail) {
        this.tOrderDetail = tOrderDetail;
    }

    @Override
    public String toString() {
        return "OrderDetailDto{" +
                "tOrderDetail=" + tOrderDetail +
                '}';
    }
}
